<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="../bootstrap-3.4.1-dist/css/bootstrap.min.css">
  <script src="../bootstrap-3.4.1-dist/js/jquery-3.6.0.min.js"></script>
  <script src="../bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
  <title>栅格系统讲解</title>
  <style>
    div.t1 {
      border:1px solid red;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="row">
      <div class="col-md-3 col-sm-6 t1">容器01</div>
      <div class="col-md-3 col-sm-6 t1">容器02</div>
      <div class="col-md-3 col-sm-6 t1">容器03</div>
      <div class="col-md-3 col-sm-6 t1">容器04</div>
    </div>
    <br>
    <div class="row">
      <div class="t1 col-md-2 col-sm-4 col-xs-6">测试容器01</div>
      <div class="t1 col-md-2 col-sm-4 col-xs-6">测试容器02</div>
      <div class="t1 col-md-2 col-sm-4 col-xs-6">测试容器03</div>
      <div class="t1 col-md-2 col-sm-4 col-xs-6">测试容器04</div>
      <div class="t1 col-md-2 col-sm-4 col-xs-6">测试容器05</div>
      <div class="t1 col-md-2 col-sm-4 col-xs-6">测试容器06</div>
    </div>
    <div class="row hidden-xs">
      顶部图片
    </div>
  </div>
</body>
</html>